/* rclu102.p - Customer/Ship-To/Dock Lookup UI                              */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                      */
/* All rights reserved worldwide.  This is an unpublished work.             */
/* $Revision: 1.4 $    */
/*V8:ConvertMode=NoConvert                                                  */
/********************************** History *********************************
 *    Revision: 9.1      Created: 12/01/99    By: Dan  Herman    *N003*
 *    Revision: 9.1     Modified: 08/15/00    By: Mark Brown     *N0KP*
 * $Revision: 1.4 $    BY: Jean Miller          DATE: 04/05/02  ECO: *P044*
 ****************************************************************************/

{mfdeclre.i}

&SCOPED-DEFINE BR-TITLE "Customer/Ship-To/Dock"

&SCOPED-DEFINE BR-NAME rc102
&SCOPED-DEFINE Q-DRAG-BACK-COL 1

&SCOPED-DEFINE Q-FIRST-TABLE ad_mstr
&SCOPED-DEFINE Q-FIRST-FIELD-LIST (ad_addr ad_sort ad_type)
&SCOPED-DEFINE Q-NUM-TABLES 1

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-1 b-1.ad_addr
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-1 ad_mstr.ad_addr
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-1 tt-ad_addr
&SCOPED-DEFINE BR-K-COL-LABEL-1 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-1 "Address"
&SCOPED-DEFINE BR-FIELD-TYPE-1 character
&SCOPED-DEFINE BR-FIELD-FRMT-1 FORMAT "x(8)"
&SCOPED-DEFINE BR-FIELD-WIDTH-1 9

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-2 b-1.ad_sort
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-2 ad_mstr.ad_sort
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-2 tt-ad_sort
&SCOPED-DEFINE BR-K-COL-LABEL-2 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-2 "Sort Name"
&SCOPED-DEFINE BR-FIELD-TYPE-2 character
&SCOPED-DEFINE BR-FIELD-FRMT-2 FORMAT "x(28)"
&SCOPED-DEFINE BR-FIELD-WIDTH-2 29

&SCOPED-DEFINE Q-BROWSE-DISP-EXPR-3 b-1.ad_type
&SCOPED-DEFINE Q-BROWSE-DEF-EXPR-3 ad_mstr.ad_type
&SCOPED-DEFINE TT-Q-BROWSE-DEF-EXPR-3 tt-ad_type
&SCOPED-DEFINE BR-K-COL-LABEL-3 COLUMN-LABEL
&SCOPED-DEFINE BR-COLUMN-LABEL-3 "List Type"
&SCOPED-DEFINE BR-FIELD-TYPE-3 character
&SCOPED-DEFINE BR-FIELD-FRMT-3 FORMAT "x(8)"
&SCOPED-DEFINE BR-FIELD-WIDTH-3 10

&SCOPED-DEFINE Q-NUM-FILT-VALS 3
&SCOPED-DEFINE BR-MAX-FIELD-WIDTH 29
&SCOPED-DEFINE BR-BROWSE-WIDTH 48
&SCOPED-DEFINE WHERE-CLAUSE (ad_type = 'customer' or ad_type = 'ship-to' or ad_type = 'dock')
&SCOPED-DEFINE BR-INDEXED-FIELDS 1,2,3

{wbbr01.i &string-4 = 'LOOKUP'}
if c-application-mode <> 'WEB' then do:
   {lookup.i}
end.
